package com.lsmw.management.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.lsmw.management.entity.LsHotelInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


/**
 * <p>
 * 所有酒店基本信息 Mapper 接口
 * </p>
 *
 * @author 二号男嘉宾
 * @since 2020-12-02
 */

public interface LsHotelInfoMapper extends BaseMapper<LsHotelInfo> {
    @Update("update ls_room set is_deleted = 1 ${ew.customSqlSegment}")
    int removeRoomByHotelId(@Param(Constants.WRAPPER) Wrapper wrapper);
}
